package com.ljh.domain;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;

/**
 * @author LongJinHua
 * @date 2022-10-10
 */
@Data
@Document("book")//文档对象名称
public class Book{
    private String id;
    private String name;
    private BigDecimal price;
    private String type;

}
